package field_method04;

public class CircleTest {
    public static void main(String[] args) {
        Circle circle = new Circle();
        circle.r = 5;
        circle.area2(3.14);
        circle.area2(3.1415926);
        double r = 10;
        double pai = 3.14;

        double s = circle.area3(r,pai);
        System.out.println("半径为"+r+"圆的面积为"+s);
    }
}
